package com.aftersale.demo.mapper;

import com.aftersale.demo.entity.Project;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * @Entity com.aftersale.demo.entity.Project
 */
public interface ProjectMapper extends BaseMapper<Project> {

    Page<Project> getProject(Page page,int userId);

    void updateProject(Project project);

    Page<Project> selectMyProject(int userId, String name,Page page);
}




